IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[DeleteCuenta]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[DeleteCuenta]
GO

CREATE PROCEDURE [dbo].[DeleteCuenta]
(
	@IdCuenta int
)
AS
BEGIN
	SET NOCOUNT ON

	DELETE FROM [Cuenta]
	WHERE [IdCuenta] = @IdCuenta

	SET NOCOUNT OFF
END

GO
